package designs.abstract_prinpicles.abstr;

public class Rectangle extends Geometry {
	double a,b;
	
	public Rectangle(double a, double b) {
		super();
		this.a = a;
		this.b = b;
	}

	@Override
	public double getArea() {
		return a * b;
	}

}
